When displaying an image with 8-bits or less per pixel, a palette defines how image color values map to display colors.
-
When an image loads, if the image has a palette, it automatically saves in the ImagXpress® image buffer.
-
When an image is saved, the palette in the ImagXpress image buffer automatically saves to buffer or file.
-
When an image displays or the image's palette applies, unless overridden by the Palette property. The Palette property impacts how the image displays or prints, but does not modify the palette of the image itself (no change to image stores in the ImagXpress image buffer).
-
Specify the Palette property if overrides to the image's palette are to be consistently used when displaying the image (for example, grayscale for all images). If a user-defined palette is used, call PRGBSetColors and PRGBGetColors methods to define the palette entries. If the palette loads from a separate file, specify the palette's filename (PFileName property).
-
Specify the ManagePalette property to True if you wish to apply the palette of the top (z-order) image to all ImagXpress controls on the display. If ManagePalette is False, each control displays with its own palette.
When using the ImagXpress control in Internet Explorer, set ManagePalette to False. In environments, like VisualBasic and Delphi, set ManagePalette to True. |